#include "EditorWindow.h"

#include "Framework/Editor.h"

#include "EditorMainWindowModel.h"
#include "EditorMainWindowViewModel.h"
#include "EditorMainWindowView.h"

#include "EditorSubwindowModel.h"   
#include "EditorSubwindowViewModel.h"
#include "EditorSubwindowView.h"

void WHE::RegisterEditorWindowMVVM()
{
    auto Editor=REditor::Get();

    Editor->RegisterMVVM(
        REditorMainWindowModel::StaticClass()
        , REditorMainWindowViewModel::StaticClass()
        , REditorMainWindowView::StaticClass());

    Editor->RegisterMVVM(
        REditorSubwindowModel::StaticClass()
        , REditorSubwindowViewModel::StaticClass()
        , REditorSubwindowView::StaticClass());
}